<?php

/* 2016-01-12 11:49:52 */

class admin extends ControllerAbstract

{

	public function index()

	{

		header('Content-Type:text/html; charset=utf-8');

		htmlHead('欢迎进入新模块！');

		import("admin","index","js");

		import("admin","index","css");

		echo '</head><body>';

		echo '<p id="navi">

		<a href="'.HOME.'guest.php">首页</a> 

		<a href="admin.php?sid='.crypt('internet','admin').'">站点设置</a> 

		<a href="admin.php?sid='.crypt('virtualdb','admin').'">系统文件生成器</a> 

		<a href="'.HOME.'file.php?sid=firjrtL6gQ/lU">Back</a>

		</p>';

		echo '<p>admin App创建成功</p>';

		echo '<p><b>(^_^)</b></p>'; 

		import("admin","index");

		echo '</body></html>';

	}
	
	public function internet()
	{
		htmlHead('设置学习网站');
		//echo plugin('tinymce');
		//echo plugin('markup');
		import('admin','internet','js');
		import('admin','internet','css');
		echo UTFHB;
		echo '<p id="path">
			<a href="'.HOME.'guest.php">首页</a> => <a href="'.HOME.'file.php">文件管理系统</a> => <a href="admin.php">后台数据配置</a> => <a href="javascript:void(0);">站点设置</a> </p>';
		import('admin','internet');
		echo ENDBH;
	}
	//	虚拟文件存盘-文件生产模板		2016/3/9 星期三			json,xml,xls,txt,log,accdb
	public function virtualdb()
	{
		header('Content-Type:text/html; charset=utf-8');
		$A = $this->Action("virtualdb","admin");
		$page = $A->run();

		$this->pHead("文件生成器",$page["pHead"]);
		$this->setpParam(array("pDance"=>$page["pDance"],'pNav'=>$page["pNav"]));
		$this->setpAttr(array("pId"=>"index"));
		$this->pageInit();
	}
}

?>

		